Initializes a new instance of the Rect class.
Namespace: MindFusion.Drawing
Package: Rect.js
JavaScript Copy Code |
---|
function Rect (x, y, [width, [height]]) |
Number | Point. The X-coordinate of the top left corner of the rectangle.
Number | Size. The Y-coordinate of the top left corner of the rectangle.
Number. The width of the rectangle.
Number. The height of the rectangle.